package com.ruoyi.TaskForce.service;

import java.util.List;
import com.ruoyi.TaskForce.domain.TeamManagement;
import com.ruoyi.TaskForce.domain.Team_Members;

/**
 * TaskForceService接口
 * 
 * @author ruoyi
 * @date 2024-10-09
 */
public interface ITeamManagementService 
{
    /**
     * 查询TaskForce
     * 
     * @param id TaskForce主键
     * @return TaskForce
     */
    public TeamManagement selectTeamManagementById(Long id);

    /**
     * 查询TaskForce列表
     * 
     * @param teamManagement TaskForce
     * @return TaskForce集合
     */
    public List<TeamManagement> selectTeamManagementList(TeamManagement teamManagement);

    /**
     * 新增TaskForce
     * 
     * @param teamManagement TaskForce
     * @return 结果
     */
    public int insertTeamManagement(TeamManagement teamManagement);

    /**
     * 修改TaskForce
     * 
     * @param teamManagement TaskForce
     * @return 结果
     */
    public int updateTeamManagement(TeamManagement teamManagement);

    /**
     * 批量删除TaskForce
     * 
     * @param ids 需要删除的TaskForce主键集合
     * @return 结果
     */
    public int deleteTeamManagementByIds(Long[] ids);

    /**
     * 删除TaskForce信息
     * 
     * @param id TaskForce主键
     * @return 结果
     */
    public int deleteTeamManagementById(Long id);
//  查询队伍
    public List<Team_Members> getTeamsByTaskForceId(Long id);
// 新增修改队伍
    public int insertTeamMembers(List<Team_Members> teamMembers);

    int DeleteTeamMembers(Long id);

    int SaveImage(Long id, String id_card_image_path);

    Team_Members GetImageData(Long id);

    List<String> selectAreaName();

    int saveCaptainInfo(String phone_number, String name, Long team_id);


}
